<%--
  Created by IntelliJ IDEA.
  User: boss
  Date: 2022/12/26
  Time: 22:46
  To change this template use File | Settings | File Templates.
--%>
<%--/**
* @author 曾瑞
* @return
*/--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <link href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.css" rel="stylesheet"/>
    <script src="${pageContext.request.contextPath}/js/jquery-3.6.2.js"></script>
    <script SRC="${pageContext.request.contextPath}/bootstrap/js/bootstrap.js"></script>
</head>
<body>
    <div class="container">
        <div class="row">
            <h1 class="text-center">添加品牌</h1>

            <form action="${pageContext.request.contextPath}/back/brandAdd" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <label class="col-md-3">品牌名称：</label>
                    <div class="col-md-9">
                        <input type="text" name="brand_name" class="form-control"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3">品牌图片：</label>
                    <div class="col-md-9">
                        <input type="file" name="brand_logo" class="form-control" multiple="multiple"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3">品牌描述：</label>
                    <div class="col-md-9">
                        <textarea class="form-control" name="brand_desc" style="height: 250px"></textarea>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3">显示状态:</label>
                    <div class="col-md-9">
                        <label class="radio-inline">
                            <input type="radio" value="1" name="brand_status" checked/>显示
                        </label>
                        <label class="radio-inline">
                            <input type="radio" value="0" name="brand_status"/>不显示
                        </label>
                    </div>
                </div>

                <%--<div class="form-group text-center">
                    <button class="btn btn-success">添加</button>
                </div>--%>
                <input type="submit" value="添加">
            </form>
        </div>
    </div>
</body>
</html>
